package cn.bxshey.auth.config;

import cn.bxshey.auth.service.LoginService;
import cn.bxshey.auth.service.impl.PhoneLoginServiceImpl;
import cn.bxshey.auth.service.impl.WxLoginServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @作者：不想说话而已
 * @Date：2023/11/30 19:33
 */
@Configuration
public class CustomizeBeanConfig {


    @Bean("WxLogin")
    public LoginService wxLoginService(){
        return new WxLoginServiceImpl();
    }

    @Bean("AutoLogin")
    public LoginService autoLoginService(){
        return new PhoneLoginServiceImpl();
    }

}
